﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200000D RID: 13
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class AcceptActivityExpeditionScRsp : IMessage<AcceptActivityExpeditionScRsp>, IMessage, IEquatable<AcceptActivityExpeditionScRsp>, IDeepCloneable<AcceptActivityExpeditionScRsp>, IBufferMessage
	{
		// Token: 0x1700001E RID: 30
		// (get) Token: 0x06000071 RID: 113 RVA: 0x0000310F File Offset: 0x0000130F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<AcceptActivityExpeditionScRsp> Parser
		{
			get
			{
				return AcceptActivityExpeditionScRsp._parser;
			}
		}

		// Token: 0x1700001F RID: 31
		// (get) Token: 0x06000072 RID: 114 RVA: 0x00003116 File Offset: 0x00001316
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return AcceptActivityExpeditionScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000020 RID: 32
		// (get) Token: 0x06000073 RID: 115 RVA: 0x00003128 File Offset: 0x00001328
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return AcceptActivityExpeditionScRsp.Descriptor;
			}
		}

		// Token: 0x06000074 RID: 116 RVA: 0x0000312F File Offset: 0x0000132F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AcceptActivityExpeditionScRsp()
		{
		}

		// Token: 0x06000075 RID: 117 RVA: 0x00003138 File Offset: 0x00001338
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AcceptActivityExpeditionScRsp(AcceptActivityExpeditionScRsp other) : this()
		{
			this.fNMGNKENAJO_ = ((other.fNMGNKENAJO_ != null) ? other.fNMGNKENAJO_.Clone() : null);
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06000076 RID: 118 RVA: 0x00003184 File Offset: 0x00001384
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AcceptActivityExpeditionScRsp Clone()
		{
			return new AcceptActivityExpeditionScRsp(this);
		}

		// Token: 0x17000021 RID: 33
		// (get) Token: 0x06000077 RID: 119 RVA: 0x0000318C File Offset: 0x0000138C
		// (set) Token: 0x06000078 RID: 120 RVA: 0x00003194 File Offset: 0x00001394
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ActivityExpedition FNMGNKENAJO
		{
			get
			{
				return this.fNMGNKENAJO_;
			}
			set
			{
				this.fNMGNKENAJO_ = value;
			}
		}

		// Token: 0x17000022 RID: 34
		// (get) Token: 0x06000079 RID: 121 RVA: 0x0000319D File Offset: 0x0000139D
		// (set) Token: 0x0600007A RID: 122 RVA: 0x000031A5 File Offset: 0x000013A5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x0600007B RID: 123 RVA: 0x000031AE File Offset: 0x000013AE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as AcceptActivityExpeditionScRsp);
		}

		// Token: 0x0600007C RID: 124 RVA: 0x000031BC File Offset: 0x000013BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(AcceptActivityExpeditionScRsp other)
		{
			return other != null && (other == this || (object.Equals(this.FNMGNKENAJO, other.FNMGNKENAJO) && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600007D RID: 125 RVA: 0x0000320C File Offset: 0x0000140C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.fNMGNKENAJO_ != null)
			{
				num ^= this.FNMGNKENAJO.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600007E RID: 126 RVA: 0x00003261 File Offset: 0x00001461
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600007F RID: 127 RVA: 0x00003269 File Offset: 0x00001469
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06000080 RID: 128 RVA: 0x00003274 File Offset: 0x00001474
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.fNMGNKENAJO_ != null)
			{
				output.WriteRawTag(42);
				output.WriteMessage(this.FNMGNKENAJO);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(56);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06000081 RID: 129 RVA: 0x000032D0 File Offset: 0x000014D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.fNMGNKENAJO_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.FNMGNKENAJO);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06000082 RID: 130 RVA: 0x00003328 File Offset: 0x00001528
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(AcceptActivityExpeditionScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.fNMGNKENAJO_ != null)
			{
				if (this.fNMGNKENAJO_ == null)
				{
					this.FNMGNKENAJO = new ActivityExpedition();
				}
				this.FNMGNKENAJO.MergeFrom(other.FNMGNKENAJO);
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06000083 RID: 131 RVA: 0x00003390 File Offset: 0x00001590
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06000084 RID: 132 RVA: 0x0000339C File Offset: 0x0000159C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 42U)
				{
					if (num != 56U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					if (this.fNMGNKENAJO_ == null)
					{
						this.FNMGNKENAJO = new ActivityExpedition();
					}
					input.ReadMessage(this.FNMGNKENAJO);
				}
			}
		}

		// Token: 0x04000022 RID: 34
		private static readonly MessageParser<AcceptActivityExpeditionScRsp> _parser = new MessageParser<AcceptActivityExpeditionScRsp>(() => new AcceptActivityExpeditionScRsp());

		// Token: 0x04000023 RID: 35
		private UnknownFieldSet _unknownFields;

		// Token: 0x04000024 RID: 36
		public const int FNMGNKENAJOFieldNumber = 5;

		// Token: 0x04000025 RID: 37
		private ActivityExpedition fNMGNKENAJO_;

		// Token: 0x04000026 RID: 38
		public const int RetcodeFieldNumber = 7;

		// Token: 0x04000027 RID: 39
		private uint retcode_;
	}
}
